package com.hkts.naturalgas.feign;

import com.hkts.naturalgas.config.FeignHeadersInterceptor;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.Map;

@FeignClient(value="naturalgas-authentication",configuration = FeignHeadersInterceptor.class)
public interface TestInterface {

    @GetMapping("/authentication/test")
    public Map<String,Object> test();
}
